package com.suzhuoke.ncpsy.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * @author 
 */
@ApiModel("")
@TableName("tb_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role extends Model<Role> implements Serializable {
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty("角色名称")
    private String rName;

    private static final long serialVersionUID = 1123123123L;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}